﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Cherry.Agile.Security
{
    /// <summary>
    /// 登录结果
    /// </summary>
    [DataContract]
    public enum LoginResult
    {
        /// <summary>
        /// 正常
        /// </summary>
        Ok,
        /// <summary>
        /// 无效的
        /// </summary>
        Invalid,
        /// <summary>
        /// 身份信息错误
        /// </summary>
        InvalidIdentity,
        /// <summary>
        /// 密码错误
        /// </summary>
        InvalidPassworld,
        /// <summary>
        /// 未知
        /// </summary>
        UnKnown,
        /// <summary>
        /// 异常
        /// </summary>
        Error
    }
}
